﻿@{
    ViewBag.Title = "订单支付";
    Layout = "~/Areas/Web/Views/Shared/_PayTopBar.cshtml";
    var orders = (IEnumerable<Himall.Model.OrderInfo>)ViewBag.Orders;
}
<form action="PayConfirm" method="Post">
    <div class="w990 main">
        <div class="m mainbody">
            <div class="mc">
                <s class="icon-succ04"></s>
                <h3 class="orderinfo">您的订单已提交！</h3>
                <ul class="list-orderinfo">
                    @foreach (var order in orders)
                    {
                        <li>订单号：@order.Id</li>
                        <li><input type="hidden" value="@order.Id" name="orderIds" /></li>
                    }
                    <li class="li-last">应付金额：<strong class="ftx-01">@(((decimal)ViewBag.TotalAmount).ToString("F2"))</strong> 元</li>
                </ul>
                <p class="mb-tip"></p><input style="margin-top:10px;" id="Submit" class="btn-5" type="submit" value="确认支付" />
            </div>
        </div>
    </div>
</form>
<style>
.btn-5 { padding: 0 20px; line-height: 32px; background-color: #e3393c; border: 1px solid #e3393c; border-radius: 2px; color: #fff; display: inline-block; cursor: pointer; }
.btn-5:hover{ background-color: #E74347; color: #fff; text-decoration: none; }
</style>